package com.aaa.whj.entity;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (TabReturn)实体类
 *
 * @author makejava
 * @since 2023-05-12 11:29:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TabReturn implements Serializable {
    SimpleDateFormat formatter= new SimpleDateFormat("yyyy-MM-dd");
    Date date = new Date(System.currentTimeMillis());
    String format = formatter.format(date);
    private static final long serialVersionUID = -16054180384128366L;
    
    private Integer re_id;
    
    private Integer id;
    
    private String name;
    
    private String tel;

    private String plan_name;
    
    private String re_con;
    
    private String re_bei;
    
    private String create_name;
    
    private String re_time;
    
    private String re_update;
    //创建回访
    public TabReturn(String id,String name,String tel,String plan_name,String re_con,String re_bei,String create_name){
        this.id= Integer.valueOf(id);
        this.name=name;
        this.tel=tel;
        this.plan_name=plan_name;
        this.re_con=re_con;
        this.re_bei=re_bei;
        this.create_name=create_name;
        this.re_time=format;
    }
    //修改回访
    public TabReturn(String re_con,String re_bei){
        this.re_con=re_con;
        this.re_bei=re_bei;
        this.re_update=format;
    }
}

